﻿using BaseAPI;
using MemorySiteServer.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace MemorySiteServer.ViewModels.FavoriteViewModels
{
    public class FavoritePatchRequest:BasePatchViewModel<Favorite,FavoritePatchRequest>
    {
        /// <summary>
        /// 名称
        /// </summary>
        [StringLength(32)]
        public string Name { get; set; }
        /// <summary>
        /// 链接
        /// </summary>
        public string Url { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 所属目录
        /// </summary>
        public long? FavoriteGroupID { get; set; }
    }
}
